//
//  TransactionRecordHeader.m
//  DaoZiJinFu
//
//  Created by woker on 16/6/27.
//  Copyright © 2016年 iwoker. All rights reserved.
//

#import "TransactionRecordHeader.h"

@implementation TransactionRecordHeader

+ (instancetype)loadView {
    TransactionRecordHeader *header = [[[NSBundle mainBundle] loadNibNamed:@"TransactionRecordHeader" owner:nil options:nil] lastObject];
    return header;
}

- (IBAction)allRecordsClick:(id)sender {
    [_delegate getRecord:0];
    
}

- (IBAction)investRecordClick:(id)sender {
    [_delegate getRecord:1];
    
}

- (IBAction)rechargeRecordClick:(id)sender {
    [_delegate getRecord:2];
}

- (IBAction)redeemRecordClick:(id)sender {
    [_delegate getRecord:3];
}

- (IBAction)withdrawalsRecordClick:(id)sender {
    [_delegate getRecord:4];
}

- (void)awakeFromNib {
    [super awakeFromNib];
}
@end
